<?php echo $header; ?>
<div id="content">
  <div class="breadcrumb">
    <?php foreach ($breadcrumbs as $breadcrumb) { ?>
    <?php echo $breadcrumb['separator']; ?><a href="<?php echo $breadcrumb['href']; ?>"><?php echo $breadcrumb['text']; ?></a>
    <?php } ?>
  </div>
  <?php if ($error_warning) { ?>
  <div class="warning"><?php echo $error_warning; ?></div>
  <?php } ?>
  <div class="box">
    <div class="heading">
      <h1><img src="view/image/review.png" alt="" /> <?php echo $heading_title; ?></h1>
      <div class="buttons"><a onclick="$('#form').submit();" class="button"><?php echo $button_save; ?></a><a onclick="location = '<?php echo $cancel; ?>';" class="button"><?php echo $button_cancel; ?></a></div>
    </div>
    <div class="content">
      <form action="<?php echo $action; ?>" method="post" enctype="multipart/form-data" id="form">
        <table class="form">
          <tr>
            <td><?php echo $entry_author; ?></td>
            <td><?php echo $author; ?></td>
            <td><?php echo $entry_customer_name; ?></td>
            <td><?php echo $firstname . " " . $lastname; ?></td>
            <td><?php echo $entry_customer_email; ?></td>
            <td><?php echo $email; ?></td>
          </tr>
          <tr>
            <td><?php echo $entry_product_name; ?></td>
            <td colspan="5"><a target="_blank" href="<?php echo $product_url; ?>"><?php echo $product_name; ?></a></td>
          </tr>
          <tr>
            <td><?php echo $entry_content; ?></td>
            <td colspan="5"><?php echo $content; ?></td>
          </tr>
          <tr>
            <td><?php echo $entry_image; ?></td>
            <td colspan="5"><img src="<?php echo $image; ?>"/></td>
          </tr>
          <tr>
            <td><?php echo $entry_video; ?></td>
            <td colspan="5"><a target="_blank" href="<?php echo $video_url; ?>"><img src="<?php echo $video_image; ?>"/></a></td>
          </tr>
          <tr>
            <td><?php echo $entry_rating; ?></td>
            <td><?php echo $rating; ?></td>
            <td><?php echo $entry_status; ?></td>
            <td colspan="3"><select name="status">
                <option value="1" <?php if ($status == 1) { echo "selected=\"selected\"" ; }?>><?php echo $text_enabled; ?></option>
                <option value="0" <?php if ($status == 0) { echo "selected=\"selected\"" ; }?>><?php echo $text_disabled; ?></option>
              </select></td>
          </tr>
        </table>
      </form>
    </div>
  </div>
</div>
<?php echo $footer; ?>